Closed Bug 1866480 Opened 2 years ago Closed 2 years ago

Fix redundant_static_lifetimes some rust generated code

Categories

(Developer Infrastructure :: Lint and Formatting, defect)

defect

Tracking

(firefox122 fixed)

RESOLVED FIXED
Tracking Status
firefox122 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

we have a lot of these warnings

[task 2023-11-24T11:05:14.267Z] TEST-UNEXPECTED-WARNING | /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/xpcrs/bt/nsIWebBrowser.rs:6:13 | statics have by default a `'static` lifetime (clippy::redundant_static_lifetimes)

https://rust-lang.github.io/rust-clippy/master/index.html#/redundant_static_lifetimes

Assignee: nobody → sledru
Status: NEW → ASSIGNED
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7bc099da4541 Fix redundant_static_lifetimes some rust generated code r=xpcom-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: